export namespace Home {
  // 文章
  export interface HomeArticleListRes {
    list: HomeArticleInfo[];
  }

  export interface HomeArticleInfo {
    article_id: number;
    article_title: string;
    article_info: string;
    article_image: string;
    user_id: number;
    label_id: number;
    user_name: string;
  }

  // 商品
  export interface HomeCommodityListRes {
    list: HomeCommodityInfo[];
  }

  export interface HomeCommodityInfo {
    id: number;
    created_at: string;
    updated_at: string;
    deleted_at?: any;
    commodity_name: string;
    commodity_image: string;
    commodity_detail: string;
    price: string;
  }

  // 位置
  export interface HomeAddressListRes {
    list: HomeAddressInfo[];
  }

  export interface HomeAddressInfo {
    id: number;
    created_at: string;
    updated_at: string;
    deleted_at?: any;
    address_name: string;
    address_image: string;
  }

  // 商品详情
  export interface ArticleInfo {
    id: number;
    created_at: string;
    updated_at: string;
    deleted_at?: any;
    article_title: string;
    article_info: string;
    article_image: string;
    user_id: number;
    label_id: number;
    address_id: number;
  }

  // 全部文章
  export interface AllArticleListRes {
    list: AllArticleInfo[];
  }
  export interface AllArticleInfo {
    id: number;
    created_at: string;
    updated_at: string;
    deleted_at?: any;
    article_title: string;
    article_info: string;
    article_image: string;
    user_id: number;
    label_id: number;
    address_id: number;
  }
}
